export function add(name, item) {
    const store = localStorage.getItem(name)
    if (store) {
        if (Array.isArray(store)) {
            localStorage.setItem(name, store.push(item))
        }
        if(store instanceof String){
            store = item;
        }
    }
}